<?php
use yii\widgets\ActiveForm;
?>
<div class="content">
        <div class="container-fluid">
            <div id="pad-wrapper" class="new-user">
                <div class="row-fluid header">
                    <h3>上传测试</h3>
                </div>
                <div class="row-fluid form-wrapper">
                    <!-- left column -->
                    <div class="span9 with-sidebar">
                        <div class="container">
                            <?php 
                            if(Yii::$app->session->hasFlash('info')){
                                echo Yii::$app->session->getFlash('info');
                            }
                            ?>
                            <?php $form = ActiveForm::begin(['options'=> ['enctype' => 'multipart/form-data']]) ?>

                            <?= $form->field($model,'file')->fileInput() ?>

                            <button>Submit</button>

                            <?php ActiveForm::end() ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
 </div>
